# -*- mode: snippet -*-
# name: try-catch
# key: t
# --
(try
  `yas-selected-text`$0
  (catch ${1:Exception} ex
    ${2:(log/error ex)}))